import {Component, OnInit} from '@angular/core';
import {ListGooAttributeComponent} from '../list-goo-attribute.component';
import {Zero3Option} from '../../../../../frame/enum/zero3-option';
import {GooAttributeCondition} from '../../goo-attribute.type';
import * as fa from '@fortawesome/free-solid-svg-icons';

@Component({
    selector: 'app-search-list-goo-attribute',
    templateUrl: './search-list-goo-attribute.component.html',
    styleUrls: ['./search-list-goo-attribute.component.css']
})
export class SearchListGooAttributeComponent implements OnInit {

    // func = this.upper.func;

    zero3Option = Zero3Option;

    condition = new GooAttributeCondition();

    extend = {
        condition: {
            gooTypeName: {
                icon: fa.faPen,
                nickname: '类目'
            }
        },
    };

    constructor(public listGooAttribute: ListGooAttributeComponent) {
        listGooAttribute.search = this;
    }

    ngOnInit() {
    }

}
